package org.springblade.modules.platform.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springblade.modules.platform.dto.MeasuringChainPlatformInfoDTO;
import org.springblade.modules.platform.dto.MeasuringChainPlatformTypeDTO;
import org.springblade.modules.platform.entity.MeasuringChainPlatformInfo;
import org.springblade.modules.platform.entity.MeasuringChainPlatformType;
import org.springblade.modules.platform.entity.MeasuringPlatformType;
import org.springblade.core.mp.support.Query;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author SYG
 * @since 2023-07-10
 */
public interface IMeasuringChainPlatformTypeService extends IService<MeasuringChainPlatformType> {

    Long installMeasuringChainPlatformType (MeasuringChainPlatformTypeDTO measuringChainPlatformTypeDTO);
    void updataMeasuringChainPlatformType (MeasuringChainPlatformInfoDTO measuringChainPlatformInfoDTO);


    void deleteMeasuringChainPlatformType (Long id);

    void removeSideSill (Long id);

    IPage<MeasuringChainPlatformInfo> getListByPage(Integer measuringTypeCode, Long measuringId, String measuringPlatformName, Query query);

    MeasuringPlatformType getFatherPlatform(Long id);

    List<MeasuringChainPlatformType> getMeasuringChainPlatformTypeList(Long measuringChainId);

}
